package com.zpf;

import com.zpf.config.FeignConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;

/**
 * @ClassName: ConsumerMovieFeignCustomWithoutHystrixApplication
 * @Description: TODO
 * @Autor: ZPF
 * @Date: 2021/1/15 9:42
 **/
@SpringBootApplication
@EnableEurekaClient
@EnableFeignClients(defaultConfiguration = FeignConfig.class)
public class ConsumerMovieFeignCustomWithoutHystrixApplication {
    public static void main(String[] args) {
        SpringApplication.run(ConsumerMovieFeignCustomWithoutHystrixApplication.class, args);
        System.out.println("【电影自定义FeignWithoutHystrix微服务】已启动.");
    }
}
